package com.ourhealth.mapper;

import com.ourhealth.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface PermissionMapper {
    Set<Permission> findPermissionByRoleId(@Param("roleId") Integer roleId);

    /**
     * @param ids
     * @return
     */
    List<Permission> findPermission(@Param("ids") List<Integer> ids);
}
